package com.zenith.article.po.domain;

import com.zenith.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "文章专题实体", description = "文章专题实体")
public class ArtTopic extends BaseEntity {
    
    @Schema(description = "专题标题")
    private String title;
    
    @Schema(description = "副标题")
    private String subtitle;
    
    @Schema(description = "封面URL")
    private String coverUrl;
    
    @Schema(description = "专题描述")
    private String description;
    
    @Schema(description = "排序权重")
    private Integer sortOrder;
    
    @Schema(description = "状态：1-启用 0-停用")
    private Integer status;
    
    @Schema(description = "专题开始时间")
    private LocalDateTime startTime;
    
    @Schema(description = "专题结束时间")
    private LocalDateTime endTime;
    
    @Schema(description = "扩展信息（JSON）")
    private String extJson;
}